/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/


// IDD and IDC

#define RUM_AHel_IDD 1040
#define RUM_BttnExit_IDC 1041
#define RUM_BttnAHel_IDC 1042
#define RUM_ListAHel_IDC 1043
#define RUM_BttnStrike_IDC 1044

// Main Dialog

class RUM_AHel {
	idd = RUM_AHel_IDD;
	movingEnable = false;
	onUnload = "call RUM_fn_ppEffect_dialogDestroy;";

	class controlsBackground {
		class RUM_Screen: RUM_RscBackground {
			x = 0.3585;
			y = 0.0755;
			w = 0.29;
			h = 0.48;
		};

		class RUM_Farty: RUM_RscFrame {
			text = " ATTACK HELO REQUEST ";
			x = 0.36725;
			y = 0.0785;
			w = 0.26815;
			h = 0.4785;
		};

		class RUM_BACKGRD: RUM_RscPic { 
			x = 0.28712;
			y = -0.1290;
			w = 0.4255;
			h = 1.1455;
			text="RUM\Common\pda.paa";
		};
	};

	// Controls -----------------------------
	
	class controls {
		class RUM_BttnClose: RUM_RscButton {
			idc = -1;
			colorText[] = { 1, 1, 1, 0 };
			colorFocused[] = { 1, 1, 1, 0 }; 
			colorDisabled[] = { 1, 1, 1, 0 }; 
			colorBackground[] = { 1, 1, 1, 0 };
			colorBackgroundDisabled[] = { 1, 1, 1, 0 }; 
			colorBackgroundActive[] = { 1, 1, 1, 0 }; 
			colorSelectBackground[] = {0, 0, 0, 1};
			colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
			text = "E";
			x = 0.601;
			y = 0.659;
			w = 0.05;
			h = 0.05;
			action = "closeDialog 0";
		};

		class RUM_BttnAHel: RUM_BttnClose {
			idc = RUM_BttnExit_IDC;
			text = "C";
			x = 0.345;
			y = 0.659;
			w = 0.05;
			h = 0.05;
			action = "[] call RUM_BttnAHel";
		};

		class RUM_BttnStrike: RUM_RscToolbox {
			x = 0.37;
  			y = 0.52;
  			w = 0.26;
  			h = 0.03;

		  	rows = 1;
  			columns = 2;
  			strings[] = {"CAS","Station"};
 			values[] = {1,2};

  			onToolBoxSelChanged = "_this call RUM_BttnStrike";
		};

		class RUM_BttnStation1: RUM_ActText {
			x = 0.37;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_AHEL_idleorstation = true;call RUM_AHel_Stationed";
			text = "IDLE";
			default = false;
		};

		class RUM_BttnStation2: RUM_ActText {
			x = 0.50;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_AHEL_idleorstation = false;call RUM_AHel_Stationed";
			text = "STATIONED";
			default = false;
		};

	// Fxd ---------------------------------

		class RUM_ListAHelT: RUM_RscText {
			x = 0.37;
			y = 0.14;
			w = 0.26;
			h = 0.03;
			text="SELECT 'IDLE' AIRCRAFT";
		};

		class RUM_TypeAHelT: RUM_RscText {
			x = 0.37;
			y = 0.49;
			w = 0.26;
			h = 0.03;
			text="SELECT MISSION TYPE";
		};

		class RUM_ListFXD: RUM_RscListBox {
			idc = RUM_ListAHel_IDC;
			x = 0.37;
			y = 0.17;
			w = 0.26;
			h = 0.32;
		};
	};
};